﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using RegisterService;
using SchoolManagementSystem.Controls;
using System.Globalization;
using System.Threading;

namespace SchoolManagementSystem
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
          //  KyerHOTEL.KFoodService.KyerServiceClient s = new KyerHOTEL.KFoodService.KyerServiceClient();
         //  var a= s.Demo();
//            System.Threading.Thread.CurrentThread.CurrentCulture =
//new System.Globalization.CultureInfo("vi-VN");
//            System.Threading.Thread.CurrentThread.CurrentUICulture =
//        new System.Globalization.CultureInfo("vi-VN");
//            DevExpress.XtraGrid.Localization.GridLocalizer.Active = new VietnameseGridLocalizer();
//            DevExpress.XtraEditors.Controls.Localizer.Active = new VietnameseEditorsLocalizer();
           // DevExpress.UserSkins.BonusSkins.Register();
            CultureInfo info = new CultureInfo(System.Threading.Thread.CurrentThread.CurrentCulture.LCID);
          //  info.NumberFormat.CurrencySymbol = "đ";
          //  info.NumberFormat.CurrencyNegativePattern = 1;

            info.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy";
            Thread.CurrentThread.CurrentCulture = info;

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);     
            Application.Run(new frmMain());
        }
    }
}
